package ntd.util.modular.account.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.config.common.enums.EnumStatus;

import java.util.Date;

@TableName("account")
@Data
public class Account extends BaseEntityMybatis<Account> {

    @Schema(description = "账号")
    private String account;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "状态")
    private EnumStatus enumStatus;

    @Schema(description = "最后登录IP")
    private String loginIp;

    @Schema(description = "最后登录时间")
    private Date loginDate;

    @Schema(description = "超管标记")
    private Boolean flagAdmin;
}
